import CommonComponentMixin from "./common-component-mixin.js";
var CommonPopMixin = {
    mixins: [CommonComponentMixin],
	data: function() {
		return {
			popRef: 'popup'
		}
	},
	methods: {
		showPop(show, ...args) {
			let ref = this.$refs[`${this.popRef}`];
			if (ref) {
				show ? ref.open() : ref.close()
			}
			this._showTrigger(show, ...args);
		},
		_showTrigger(show, ...args) {

		}
	}
}

module.exports = CommonPopMixin;